package com.vast.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.Data;

@ApiModel(value="com.vast.admin.entity.ContractNo")
@Data
@TableName(value = "contract_no")
public class ContractNo implements Serializable {
     @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="null")
    private Long id;

    /**
     * 地区编码（湖北武汉 HB-WH）
     */
    @TableField(value = "code")
    @ApiModelProperty(value="地区编码（湖北武汉 HB-WH）")
    private String code;

    /**
     * 年份
     */
    @TableField(value = "year")
    @ApiModelProperty(value="年份")
    private Integer year;

    /**
     * 编号
     */
    @TableField(value = "num")
    @ApiModelProperty(value="编号")
    private Integer num;

    private static final long serialVersionUID = 1L;

    public static final String COL_CODE = "code";

    public static final String COL_YEAR = "year";

    public static final String COL_NUM = "num";
}